#!/usr/bin/env python
# encoding: utf-8
# @author: Lin Han
# @contact: voldemort22@126.com
# @file: tag.py
# @time: 2021/3/24 14:27
# @desc:
def clampTagInit():
    clampTag = {
        "area": None,
        "standard": [],
        "rpsNumber": 0,
        # rpsType是列表
        "rpsType": [],
        "airNumber": 0,
        "hasStopBlock": False,
        "hasPin": False,
        "elseTag": [],
        "hasSlideRail": False,
        "hasBuffer": False,
        "pinNumber": 0,
        # pinType是列表
        "pinType": [],
    }
    return clampTag


def partTagInit():
    partTag = {
        "standard": "",
        "category": None,
        "bigType": None,
        "smallType": None,
        "elseTag": [],
        "partType": "",
    }
    return partTag


# def standardClampTagInit():
#     partTag = {
#         "standard": None,
#         "category": None,
#         "bigType": None,
#         "smallType": None,
#         "elseTag": [],
#     }
#     return partTag
#
# def standardPartTagInit():
#     partTag = {
#         "standard": None,
#         "category": None,
#         "bigType": None,
#         "smallType": None,
#         "elseTag": [],
#     }
#     return partTag
#


def parameterTagInit():
    parameterTag = {
        "standard": [],
        "category": None,
        "partType": None,
        "elseTag": [],
    }
    return parameterTag
